def getFunctions(self, prefix):
    return dict([(name[len(prefix):], getattr(self,name)) for name in dir(self) if name.startswith(prefix)])

def dynload(filename):
    moduleName = filename.split('.')[-1]
    className = moduleName[:1].upper() + moduleName[1:]
    
    try:
        module = __import__(filename,fromlist=moduleName)
    except ImportError:
        return None
    
    return getattr(module,className,None)
